package cn.lvhang.org.mapper;

import cn.lvhang.basic.mapper.BaseMapper;
import cn.lvhang.org.domain.Department;
import cn.lvhang.org.query.DepartmentQuery;

import java.sql.Savepoint;
import java.util.List;

/**
 * 部门数据操作接口
 * CRUD  分页 + 高级查询
 */
public interface DepartmentMapper extends BaseMapper<Department> {
    //查询部门树（两层）
    List<Department> loadTree();
}
